﻿@model IEnumerable<DotNetProject.Models.Showtime>
@using Resources
@{
    ViewBag.Title = "Programmatie";
}

@section featured {
    <section class="featured">
        <div class="content-wrapper">
            <hgroup class="title">
                <h1>@ViewBag.Title</h1>
            </hgroup>
        </div>
    </section>
}

<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>

<script>
    $(function () {
        $("#datepicker").datepicker();
    });
</script>

<form method="get" action="@Url.Action("Programmatie")"
    data-otf-ajax="true" data-otf-target="#showtimeList">
    Datum: <input type="text" id="datepicker" value="@DateTime.Now.ToString("dd/MM/yyyy")" name="strDatum" />
    Film: <input type="text" id="filmpicker" name="movieName" />
    <input type="submit" value="@MVResources.zoek" />
</form>


@Html.Partial("_ProgrammatieLijst", Model)


@section Scripts{

}